package dao;

import hbt.HibernateDAO;

import org.hibernate.Session;
import org.hibernate.Transaction;

import bean.MedioPagoBean;

public class MedioPagoDao {

	public void altaMedioPago(MedioPagoBean MP)
	{
		Session s = HibernateDAO.getInstancia().getSession();
		Transaction t = s.beginTransaction();
		s.persist(MP);
		t.commit();
	}
}
